<template>
    <TreeForRelBind :checked-data-url="$baseURL.base +  '/base/roledatascoperel/role/' + $route.params.roleId"
                    :data-url="$baseURL.base +  '/base/datascope/tree'"
                    :submit-url="$baseURL.base +  '/base/roledatascoperel/role/assign/datascope'"
                    :main-value="$route.params.roleId"
                    main-prop="roleId"
                    checked-prop="checkedDataScopeIds"
                    unchecked-prop="uncheckedDataScopeIds"
                    :clear-all-url="$baseURL.base +  '/base/roledatascoperel/role/' + $route.params.roleId"
                    :lazyload="false"
    >
        <el-alert slot="alert"
                  title="每个数据对象只能选中一个数据范围"
                  type="warning" show-icon  :closable="false">
        </el-alert>
    </TreeForRelBind>
</template>

<script>
    import TreeForRelBind from '../../../../common-util/src/components/page/TreeForRelBind.vue'
    export default {
        components:{
            TreeForRelBind
        },
        data (){
            return {
            }
        },
        mounted(){
        },
        methods:{
        }
    }
</script>

<style scoped>

</style>